-- GENERATED SPELL FOR [Qirot] --


function spell0_5350(pUnit, Event) --@Poison,n/a--
pUnit:FullCastSpellOnTarget(13298,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5350', 30000, 1)
end

function Sorts_5350(pUnit, Event)
local choix_sorts_5350 = math.random(0, 0)
if choix_sorts_5350 == 0 then
pUnit:RegisterEvent('spell0_5350', 1, 1)
end
end

function mob5350_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5350', math.random(1500, 3000), 1)
end

function mob5350_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5350_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5350_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5350, 1, 'mob5350_Action')
RegisterUnitEvent(5350, 2, 'mob5350_Leave')
RegisterUnitEvent(5350, 3, 'mob5350_Kill')
RegisterUnitEvent(5350, 4, 'mob5350_Die')
